package jz;

import java.security.MessageDigest;
import java.util.Arrays;

public class i {
    static int x,y,z=0;
    static String str="";
    public static void main(String[] args) {
        int[] i=new int[10];
        while (true){
            x++;
            i[z]=x;
            if (x==4){
                x=0;
                y++;
                i[z]=y;

            }
            if (y==3){
                z++;
            }
            System.out.println(Arrays.toString(i));
            System.out.println("x="+x);
            System.out.println("y="+y);

        }
    }
    public static String md5(String source) {
        source+="com.shtd";
        char[] hexDigits = new char[]{'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F'};

        try {
            byte[] btInput = source.getBytes("utf-8");
            MessageDigest mdInst = MessageDigest.getInstance("MD5");
            mdInst.update(btInput);

            byte[] md = mdInst.digest();
            System.out.println(Arrays.toString(md));
            int j = md.length;
            System.out.println(j);
            char[] str = new char[j * 2];
            int k = 0;
            for(int i = 0; i < j; ++i) {
                byte byte0 = md[i];
                str[k++] = hexDigits[byte0 >>> 4 & 15];
                str[k++] = hexDigits[byte0 & 15];
                System.out.println(byte0);
                System.out.println(byte0 & 15);
            }

            return (new String(str)).toLowerCase();
        } catch (Exception var10) {
            var10.printStackTrace();
            return null;
        }
    }
}
